﻿using System;
using System.Collections.Generic;
using System.Security.Claims;
using System.Text;
using System.Threading.Tasks;

namespace Core.SimpleTemp.Common.Authorization
{
    /// <summary>
    /// 获取权限集合接口
    /// </summary>
    public interface IGetFunctionCode
    {
        /// <summary>
        /// 获取当前登录用户FunctionCode集合
        /// </summary>
        /// <param name="currUser">当前登录用户ClaimsPrincipal</param>
        /// <returns></returns>
        Task<List<string>> GetCurrUserFunctionCodeAsync(ClaimsPrincipal currUser);
    }
}
